package com.zp.crm.entity.Roid;

import java.util.Date;

public class RoidEntity {

	
	private int id;//角色对应的ID，（唯一，自增长）
	
	private String name;//角色的名称；（唯一）

	private String menucode;//角色所对应的权限ID，（菜单id，字符串拼接，“，”分割）;
	
	private Date roidCreateTime;//角色创建的时间、
	
	private Date roidUpdateTime;//角色修改的最后时间
	
	private String roidCreateUserName;//角色创建的用户名称
	
	private String roidUpdateUserName;//角色最后修改的用户名称
	
	private int order1;
	
	
	

	public RoidEntity(String name, String menucode, Date roidCreateTime, String roidCreateUserName) {
		super();
		this.name = name;
		this.menucode = menucode;
		this.roidCreateTime = roidCreateTime;
		this.roidCreateUserName = roidCreateUserName;
	}

	public RoidEntity(int id, String name, String menucode, Date roidCreateTime, Date roidUpdateTime,
			String roidCreateUserName, String roidUpdateUserName, int order1) {
		super();
		this.id = id;
		this.name = name;
		this.menucode = menucode;
		this.roidCreateTime = roidCreateTime;
		this.roidUpdateTime = roidUpdateTime;
		this.roidCreateUserName = roidCreateUserName;
		this.roidUpdateUserName = roidUpdateUserName;
		this.order1 = order1;
	}

	public RoidEntity() {
		super();
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getMenucode() {
		return menucode;
	}

	public void setMenucode(String menucode) {
		this.menucode = menucode;
	}

	public Date getRoidCreateTime() {
		return roidCreateTime;
	}

	public void setRoidCreateTime(Date roidCreateTime) {
		this.roidCreateTime = roidCreateTime;
	}

	public Date getRoidUpdateTime() {
		return roidUpdateTime;
	}

	public void setRoidUpdateTime(Date roidUpdateTime) {
		this.roidUpdateTime = roidUpdateTime;
	}

	public String getRoidCreateUserName() {
		return roidCreateUserName;
	}

	public void setRoidCreateUserName(String roidCreateUserName) {
		this.roidCreateUserName = roidCreateUserName;
	}

	public String getRoidUpdateUserName() {
		return roidUpdateUserName;
	}

	public void setRoidUpdateUserName(String roidUpdateUserName) {
		this.roidUpdateUserName = roidUpdateUserName;
	}

	public int getOrder1() {
		return order1;
	}

	public void setOrder1(int order1) {
		this.order1 = order1;
	}

	
}
